package leap_year;

import junit.framework.Assert;
import junit.framework.TestCase;

public class LeapYearTest extends TestCase {
	
	public void test1(){
		LeapYear ly = new LeapYear(2009);
		boolean leap = ly.isLeapYear();
		Assert.assertEquals(false, leap);
	}
	
	public void test2(){
		LeapYear ly = new LeapYear(2012);
		boolean leap = ly.isLeapYear();
		Assert.assertEquals(true, leap);
	}
	public void test3(){
		LeapYear ly = new LeapYear(2100);
		boolean leap = ly.isLeapYear();
		Assert.assertEquals(false, leap);
	}
	
	public void test4(){
		LeapYear ly = new LeapYear(2000);
		boolean leap = ly.isLeapYear();
		Assert.assertEquals(true, leap);
	}

}
